package com.example.controller.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DevToolsController {
    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public String test() {
        // 引入devtools后，启动项目后修改代码，实时更新
        // idea设置File-Settings-Compiler-Build Project automatically
        // File-Settings-Advanced Settings-Allow auto-make to start even if ....
        return "123";
    }
}
